package com.example.yixueban.service_interface;

import com.example.yixueban.domain.Teacher;
import com.example.yixueban.domain.TeacherExample;
import com.example.yixueban.req.user.SelectTeacher_Req;

import java.util.List;
    
/**
 * User: Wang YiHan
 * Date: 2021/8/9 20:11
 * Email: 783096044@qq.com
 * File_Name: TeacherService
**/
public interface TeacherService{

    List<Teacher> selectSuchTeacher(SelectTeacher_Req selectTeacher_Req);

    long countByExample(TeacherExample example);

    int deleteByExample(TeacherExample example);

    int deleteByPrimaryKey(Integer teacherId);

    int insert(Teacher record);

    int insertSelective(Teacher record);

    List<Teacher> selectByExample(TeacherExample example);

    Teacher selectByPrimaryKey(Integer teacherId);

    int updateByExampleSelective(Teacher record,TeacherExample example);

    int updateByExample(Teacher record,TeacherExample example);

    int updateByPrimaryKeySelective(Teacher record);

    int updateByPrimaryKey(Teacher record);

}
